using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.patientUserInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string PatientUserInfo_ID= strid;
					ShowInfo(PatientUserInfo_ID);
				}
			}
		}
		
	private void ShowInfo(string PatientUserInfo_ID)
	{
		Maticsoft.BLL.Register.patientUserInfo bll=new Maticsoft.BLL.Register.patientUserInfo();
		Maticsoft.Model.Register.patientUserInfo model=bll.GetModel(PatientUserInfo_ID);
		this.lblPatientUserInfo_ID.Text=model.PatientUserInfo_ID;
		this.lblPatientUserInfo_Name.Text=model.PatientUserInfo_Name;
		this.lblPatientUserInfo_Password.Text=model.PatientUserInfo_Password;
		this.lblPatientUserInfo_Phone.Text=model.PatientUserInfo_Phone;
		this.lblPatientUserInfo_BirthDay.Text=model.PatientUserInfo_BirthDay.ToString();
		this.lblPatientUserInfo_Sex.Text=model.PatientUserInfo_Sex;
		this.lblPatientUserInfo_Mail.Text=model.PatientUserInfo_Mail;
		this.lblPatientUserInfo_IDCrad.Text=model.PatientUserInfo_IDCrad;
		this.lblPatientUserInfo_UserType.Text=model.PatientUserInfo_UserType;
		this.lblPatientUserInfo_MedicareCard.Text=model.PatientUserInfo_MedicareCard;
		this.lblPatientUserInfo_AddTime.Text=model.PatientUserInfo_AddTime.ToString();
		this.lblPatientUserInfo_NotComeTime.Text=model.PatientUserInfo_NotComeTime.ToString();
		this.lblPatientUserInfo_RrgIP.Text=model.PatientUserInfo_RrgIP;
		this.lblPatientUserInfo_State.Text=model.PatientUserInfo_State;

	}


    }
}
